Skip to content

Conversation

micahscopes
Copy link

@micahscopes micahscopes commented Jun 25, 2019

In the django-haystack documentation, it's said that signal keyword arguments will be passed to should_update, and sure enough they are here.

I'm implementing custom signals to be used with celery-haystack and would like to do some fancy checking in should_update to see if my django model objects should be reindexed. I've made this same change in our fork of celery-haystack, and thought I'd submit it upstream.

(Looks like this is very tangentially related to issue #61.)

In the django-haystack documentation, [it's said](https://django-haystack.readthedocs.io/en/master/searchindex_api.html?highlight=should_update#SearchIndex.should_update) that signal keyword arguments will be passed to `should_update`, and sure enough they are [here](https://github.com/django-haystack/django-haystack/blob/802b0f6f4b3b99314453261876a32bac2bbec94f/haystack/indexes.py#L318-L319)

I'm implementing custom signals to be used with celery-haystack and would like to do some fancy checking in `should_update` to see if my django model objects should be reindexed.  I've made this same change in our fork of celery-haystack, and thought I'd submit it upstream.

Looks like this is very tangentially related to issue django-haystack#61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant